<h1>Users list</h1>

<table class="records_list">
    <thead>
        <tr>
            <th>Id</th>
            <th>Userlogin</th>
            <th>Userpass</th>
            <th>Usernicename</th>
            <th>Useremail</th>
            <th>Userurl</th>
            <th>Userregistered</th>
            <th>Useractivationkey</th>
            <th>Userstatus</th>
            <th>Displayname</th>
            <th>Actions</th>
        </tr>
    </thead>
    <tbody>
    {% for entity in entities %}
        <tr>
            <td><a href="{{ path('users_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
            <td>{{ entity.userLogin }}</td>
            <td>{{ entity.userPass }}</td>
            <td>{{ entity.userNicename }}</td>
            <td>{{ entity.userEmail }}</td>
            <td>{{ entity.userUrl }}</td>
            <td>{% if entity.userRegistered %}{{ entity.userRegistered|date('Y-m-d H:i:s') }}{% endif %}</td>
            <td>{{ entity.userActivationKey }}</td>
            <td>{{ entity.userStatus }}</td>
            <td>{{ entity.displayName }}</td>
            <td>
                <ul>
                    <li>
                        <a href="{{ path('users_show', { 'id': entity.id }) }}">show</a>
                    </li>
                    <li>
                        <a href="{{ path('users_edit', { 'id': entity.id }) }}">edit</a>
                    </li>
                </ul>
            </td>
        </tr>
    {% endfor %}
    </tbody>
</table>

<ul>
    <li>
        <a href="{{ path('users_new') }}">
            Create a new entry
        </a>
    </li>
</ul>
